dev.action = function(resp,param){

    var foreman = iot.list();
    var operator = iot.list();
    //领班
    foreman.add("小明");
    foreman.add("小红");
    foreman.add("小李");
    //操作员
    operator.add("小银");

    var data = {
        foreman : foreman,
        operator : operator
    };

    resp.setJsData(data);
}